package com.catsic.zcjc.condition;
import org.apache.commons.lang3.StringUtils;

import com.catsic.base.conditon.Condition;

public class SystemCondition implements Condition{

	/**
	 * 
	 */
	private static final long serialVersionUID = -9059021971993018312L;

	/**
	 * 名称
	 **/
	private String name;
	
	/**
	 * 编码
	 **/
	private String code;
	
	/**
	 * 类型
	 */
	private Integer type;
	
	/**
	 * 机构id
	 **/
	private String stationId;
	
	/**
	 * 机构名称
	 **/
	private String stationName;
	
	

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getStationId() {
		if(StringUtils.isNotBlank(stationId)){
			stationId = stationId.replace("station_", "");
		}
		return stationId;
	}

	public void setStationId(String stationId) {
		this.stationId = stationId;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	
	
}
